package com.xnyzc.lhy.mis.entity.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
*
* 
*
* @author cuixiaojian
* @since 2021-05-31
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDCashBatch对象", description="")
public class OaDCashBatch implements Serializable {

private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "批次号")
    private Long batchNo;

    @ApiModelProperty(value = "业务参考号")
    private String yurref;

    @ApiModelProperty(value = "批次共转账笔数")
    private String ttlcnt;

    @ApiModelProperty(value = "总金额")
    private BigDecimal ttlamt;

    @ApiModelProperty(value = "银行返回状态是否成功")
    private String succeed;

    @ApiModelProperty(value = "实际整个批次是否全部成功")
    private String realSucceed;

    @ApiModelProperty(value = "重试次数")
    private String retryCount;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;


    public static final String BATCH_NO = "batch_no";

    public static final String YURREF = "yurref";

    public static final String TTLCNT = "ttlcnt";

    public static final String TTLAMT = "ttlamt";

    public static final String SUCCEED = "succeed";

    public static final String REAL_SUCCEED = "real_succeed";

    public static final String RETRY_COUNT = "retry_count";

    public static final String CREATE_TIME = "create_time";

    public static final String CREATE_USER = "create_user";

}
